<? 
//<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
session_start();
require ("inc.php");
admin_core::check();
$rows = 20;
$page = (int)((int)$_REQUEST['page']?(int)$_REQUEST['page']:1);
/* 以下是程序部份 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link  href="static/admincp.css" rel="stylesheet" type="text/css" id="css">
<script src="Script/lib.js" 	type="text/javascript"></script>
<script src="Script/lib.ext.js" type="text/javascript"></script>
<script type="text/javascript">
function checkalloption(form, value) 
{
	for(var i = 0; i < form.elements.length; i++) 
	{
		var e = form.elements[i];
		if(e.value == value && e.type == 'radio' && e.disabled != true) 
		{
			e.checked = true;
		}
	}
}
function checkallvalue(form, value, checkall) {
	var checkall = checkall ? checkall : 'chkall';
	for(var i = 0; i < form.elements.length; i++) 
	{
		var e = form.elements[i];
		if(e.type == 'checkbox' && e.value == value) 
		{
			e.checked = form.elements[checkall].checked;
		}
	}
}
var collapsed = $.cookie('DTh_collapse');
function collapse_change(menucount) 
{
	if(_.e('menu_' + menucount).style.display == 'none') 
	{
		_.e('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		_.e('menuimg_' + menucount).src = 'static/img/menu_reduce.gif';
	} else 
	{
		_.e('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		_.e('menuimg_' + menucount).src = 'static/img/menu_add.gif';
	}
	$.cookie('DTh_collapse', collapsed, 2592000);
}
</script>

</head>
<body leftmargin="10" topmargin="10">
<div id="append_parent"></div>
<table width="100%" border="0" cellpadding="2" cellspacing="6">
  <tr>
    <td>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
        <tr>
          <td><a href="#" onClick="parent.menu.location='admincp.php?action=menu'; parent.main.location='admincp.php?action=home';return false;">系统设置首页</a>&nbsp;&raquo;&nbsp;基本设置</td>
        </tr>
      </table>
      
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
          <tr class="header">
            <td colspan="2">基本设置<a href="###" onclick="collapse_change('a45b0b68771fc480')"><img id="menuimg_a45b0b68771fc480" src="static/img/menu_reduce.gif" border="0" style="float: right; margin-top: -12px; margin-right: 8px;" /></a> </td>
          </tr>
          <tbody id="menu_a45b0b68771fc480" style="display: yes">
            <tr>
              <td width="45%" class="altbg1" ><b>论坛名称:</b><br />
                <span class="smalltxt">论坛名称，将显示在导航条和标题中</span></td>
              <td class="altbg2"><input type="text" size="50" name="settingsnew[bbname]" value="Discuz! Board" >
              </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" ><b>网站名称:</b><br />
                <span class="smalltxt">网站名称，将显示在页面底部的联系方式处</span></td>
              <td class="altbg2"><input type="text" size="50" name="settingsnew[sitename]" value="Comsenz Inc." >
              </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" ><b>网站 URL:</b><br />
                <span class="smalltxt">网站 URL，将作为链接显示在页面底部</span></td>
              <td class="altbg2"><input type="text" size="50" name="settingsnew[siteurl]" value="http://www.comsenz.com/" >
              </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" ><b>首页文件名:</b><br />
                <span class="smalltxt">设置论坛首页的文件名，默认为“index.php”，如果您更改了此设置，那么您需要使用“FTP工具”手动重命名文件名称</span></td>
              <td class="altbg2"><input type="text" size="50" name="settingsnew[indexname]" value="index.php" >
              </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" ><b>网站备案信息代码:</b><br />
                <span class="smalltxt">页面底部可以显示 ICP 备案信息，如果网站已备案，在此输入您的授权码，它将显示在页面底部，如果没有请留空</span></td>
              <td class="altbg2"><input type="text" size="50" name="settingsnew[icp]" value="" >
              </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" ><b>显示授权信息链接:</b><br />
                <span class="smalltxt">选择“是”将在页脚显示商业授权用户链接，链接将指向 Discuz! 官方网站，用户可通过此链接验证其所使用的 Discuz! 是否经过商业授权</span></td>
              <td class="altbg2"><input class="radio" type="radio" name="settingsnew[boardlicensed]" value="1"   >
                是 &nbsp; &nbsp;
                <input class="radio" type="radio" name="settingsnew[boardlicensed]" value="0" checked  >
                否 </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" ><b>论坛关闭:</b><br />
                <span class="smalltxt">暂时将论坛关闭，其它人无法访问，但不影响管理员访问</span></td>
              <td class="altbg2"><input class="radio" type="radio" name="settingsnew[bbclosed]" value="1"   >
                是 &nbsp; &nbsp;
                <input class="radio" type="radio" name="settingsnew[bbclosed]" value="0" checked  >
                否 </td>
            </tr>
            <tr>
              <td width="45%" class="altbg1" valign="top"><b>论坛关闭的原因:</b><br />
                <span class="smalltxt">论坛关闭时出现的提示信息</span></td>
              <td class="altbg2"><img src="static/img/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[closedreason]', 1)"> <img src="static/img/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[closedreason]', 0)"><br />
                <textarea  rows="6" name="settingsnew[closedreason]" id="settingsnew[closedreason]" cols="50"></textarea></td>
            </tr>
          </tbody>
        </table>
        <br />
        <center>
          <input type="hidden" name="from" value="">
          <input class="button" type="submit" name="settingsubmit" value="提 交">
        </center>
      </form></td>
  </tr>
</table>
<br />
<br />
<? include("s_tpl.copyright.php"); ?>
</body>
</html>